Skip to content

versions: Attempt to use Ubuntu 24.04 in packer#2293

Merged
stevenhorsman merged 1 commit intoconfidential-containers:mainfrom
stevenhorsman:test-ubuntu-24.04-base-image
Mar 11, 2025
Merged

versions: Attempt to use Ubuntu 24.04 in packer#2293
stevenhorsman merged 1 commit intoconfidential-containers:mainfrom
stevenhorsman:test-ubuntu-24.04-base-image

Conversation

@stevenhorsman
Copy link
Member

@stevenhorsman stevenhorsman commented Feb 11, 2025

See if we can bump to a 24.04 base for the packer
podvm image as 20.04 is going EoL

@stevenhorsman stevenhorsman force-pushed the test-ubuntu-24.04-base-image branch from 14e6d35 to d622d57 Compare February 12, 2025 09:35
@stevenhorsman stevenhorsman changed the title Test ubuntu 24.04 base image versions: Attempt to use Ubuntu 24.04 in packer Feb 12, 2025
@stevenhorsman stevenhorsman marked this pull request as ready for review February 14, 2025 08:34
@stevenhorsman stevenhorsman requested a review from a team as a code owner February 14, 2025 08:34
Copy link
Contributor

@ldoktor ldoktor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks quite good and seems to work well (only tested x86_64). Could you please split the ubuntu and style changes into 2 commits (in case of reverts)? Also do you know if the versions.yaml is actually used anywhere in the code or is it there just for a reference?

@stevenhorsman stevenhorsman force-pushed the test-ubuntu-24.04-base-image branch from d622d57 to 5c96f47 Compare February 24, 2025 14:49
@stevenhorsman
Copy link
Member Author

Also do you know if the versions.yaml is actually used anywhere in the code or is it there just for a reference?

Yes - it's used in Makefile.defaults, so I've updated to make that clearer.

@stevenhorsman stevenhorsman force-pushed the test-ubuntu-24.04-base-image branch 2 times, most recently from cc28f9f to 677c0b9 Compare March 4, 2025 09:24
Copy link
Contributor

@ldoktor ldoktor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, seems to cover all places.

Copy link
Member

@beraldoleal beraldoleal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @stevenhorsman lgtm, but I found some focal strings under src/cloud-api-adaptor/podvm/qcow2/rhel|ubuntu/variables.pkr.hcl as default values.

Should we update there too?

See if we can bump to a 24.04 base for the packer
podvm image as 20.04 is going EoL

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
@stevenhorsman stevenhorsman force-pushed the test-ubuntu-24.04-base-image branch from 677c0b9 to cf4f196 Compare March 11, 2025 10:52
@stevenhorsman
Copy link
Member Author

Hi @stevenhorsman lgtm, but I found some focal strings under src/cloud-api-adaptor/podvm/qcow2/rhel|ubuntu/variables.pkr.hcl as default values.

Should we update there too?

Yes - we should - thanks for pointing this out - I did a search for 20.04 and fixed the references I would there, but didn't think to search for focal and replace them, so I've done that now and hopefully the tests will still be good.

Copy link
Member

@beraldoleal beraldoleal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@stevenhorsman stevenhorsman merged commit a6c13f2 into confidential-containers:main Mar 11, 2025
45 checks passed
@stevenhorsman stevenhorsman deleted the test-ubuntu-24.04-base-image branch March 11, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants